package com.lotter.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lotter.model.precentcheck.PresentCheck;
import com.lotter.model.precentcheck.PresentVo;
import com.lotter.model.precentcheck.ProPresent;

/**
 * 
 * @author panguixiang
 *
 */
public interface PresentCheckMapper  extends BaseDao<PresentCheck>{

	public List<PresentVo> getPresentVos(@Param("startdate") Date startdate, @Param("enddate") Date enddate,
			@Param("start") int start, @Param("size") int size);

	public int getPresentVoCount(@Param("startdate") Date startdate, @Param("enddate") Date enddate);
	
	public void proWorkZan(ProPresent pro) throws Exception;
	
	
	
	// _____________________________________________ 以下是前台使用 _____________________________
	
	int numberTimes(@Param("uid") Long uid,@Param("startdate") Date startdate,
			@Param("enddate") Date enddate,@Param("pstatus") Integer pstatus);
	
	
	
}
